package com.example.demo.client.evt.cssmqry;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-18 15:29:02
 */
@ApiModel("查询字典值参数")
public class QryCodeListEvt implements Serializable {
    private static final long serialVersionUID = -4148236380557919441L;
    @ApiModelProperty(value = "表名")
    @NotBlank
    private String tabName;
    @ApiModelProperty(value = "字段名")
    @NotBlank
    private String colName;

    public QryCodeListEvt() {
    }

    public QryCodeListEvt(@NotBlank String tabName, @NotBlank String colName) {
        this.tabName = tabName;
        this.colName = colName;
    }

    public String getTabName() {
        return tabName;
    }

    public void setTabName(String tabName) {
        this.tabName = tabName;
    }

    public String getColName() {
        return colName;
    }

    public void setColName(String colName) {
        this.colName = colName;
    }

    @Override
    public String toString() {
        return "QryCodeListEvt{" +
            "tabName='" + tabName + '\'' +
            ", colName='" + colName + '\'' +
            '}';
    }
}
